package com.lhhu.demo.bean;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Auther 虎
 * @Data 2021/3/5 16:32
 * @Version 1.0
 */
@Setter
@Getter
public class BookMessage implements Serializable {
    private String bookId;
    private String bookName;
    private String bookSynopsis;//简介
    private Double bookOprice;//原价
    private Double bookPprice;//现价
    private Double bookDiscount;
    private int bookCounts;
    private String bookUrl;
    private String bookISBN;
    private String bookCategory;//类别
    private String bookCategoryId;
    private String bookTag;//标签

    @Override
    public String toString() {
        return
                "Id='" + bookId + '\'' +
                ", Name='" + bookName + '\'' +
                ", Oprice=" + bookOprice +
                ", Pprice=" + bookPprice +
                ", Counts=" + bookCounts +
                ", ISBN='" + bookISBN + '\'' +
                ", Category='" + bookCategory + '\'' +
                ", Tag='" + bookTag;
    }
}
